@extends('admin::layouts.master')
@section('content')
    <div class="card" id="app">
        <div class="card-header">微信管理</div>
        <div class="tab-container">
            <ul role="tablist" class="nav nav-tabs">
                <li class="nav-item"><a href="/wachat/weixin" class="nav-link active">微信配置列表</a></li>
                <li class="nav-item"><a href="/wachat/weixin/create" class="nav-link">添加微信配置</a></li>
            </ul>
            <div class="card card-contrast card-border-color-success">
                <div class="card-body">
                    <table class="table">
                        <thead>
                        <tr>
                            <th style="width: 10%;">编号</th>
                            <th>名字</th>
                            <th>内容</th>
                            <th>创建时间</th>
                        </tr>
                        </thead>
                        <tbody>
                        @foreach($data as $d)
                            <tr>
                                <td>{!! $d['id'] !!}</td>
                                <td>{!! $d['name'] !!}</td>
                                <td>{!! $d['value'] !!}</td>
                                <td>{!! $d['created_at'] !!}</td>
                            </tr>
                        @endforeach
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>
@endsection
